﻿using OnlinePharmacyV001.Models;

namespace OnlinePharmacyV001.DA
{
    public static class ProductService
    {
        static OnlinePharmacyEntities db = new OnlinePharmacyEntities();
        public static Category GetCatById(int id)
        {
            return db.Categories.Find(id);
        }
    }
}